<p><a href='../staf/module/dosen/modul/pengumuman/form.php?width=371&height=210' class='thickbox button' title='Tambah Pesan'>Tambah Pengumuman</a>
<div class="lay_pengumuman">
<? 	

	$p      = new Paging;
    $batas  = 1;
    $posisi = $p->cariPosisi($batas);
 
 		$sql="select * from pengumuman order by id_pengumuman DESC LIMIT $posisi,$batas";
		$query=mysql_query($sql);
		while ($r=mysql_fetch_array($query)){
		$tgl= tgl_indo($r['date']);
		echo "<span class=tgl_pengumuman >".$tgl."</span> <br /><br /><br />";
		echo $r['isi'];
		
		}
?>
</div><br />
<center><?php 
    $jmldata = mysql_num_rows(mysql_query("SELECT * FROM pengumuman"));
    $jmlhalaman  = $p->jumlahHalaman($jmldata, $batas);
    $linkHalaman = $p->navHalaman($_GET[halaman], $jmlhalaman);

    echo "<div id=paging>$linkHalaman</div><br>";
	?>
</td>